# -*- coding:utf-8 -*-


# userFilter

from django_filters.filterset import FilterSet


from Apps.user.models import User


class userFilter(FilterSet):
    class Meta:
        model = User
        fields = {
            # 用户名
            "username": ["contains"],
            # 昵称
            "name": ["contains"],
        }
